/*
 * @Description:
 * @Version: 1.0.0
 * @Author: gyh
 * @Date: 2021-08-07 09:34:33
 * @LastEditors: gyh
 * @LastEditTime: 2021-08-07 10:32:27
 */
import { createRouter, createWebHashHistory } from "vue-router";

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    { path: "/", component: () => import("@/views/home.vue") },
    {
      path: "/home",
      name: "Home",
      alias: "/",
      component: () => import("@/views/Home.vue"),
    },
    {
      path: "/about",
      name: "About",
      component: () => import("@/views/About.vue"),
    },
  ],
});

export default router;
